﻿using Basic.HrRemoteModel.Company;
using Basic.HrRemoteModel.Company.Model;
using WeDonekRpc.Client.Attr;

namespace Shop.ExtendService.lmpl
{
    [ClassLifetimeAttr(ClassLifetimeType.SingleInstance)]
    internal class CompanyService : ICompanyService
    {
        public CompanyDto Get (long id)
        {
            return new GetCompany
            {
                Id = id
            }.Send();
        }
    }
}
